From: Jostein Kjønigsen Date: Mon, 19 May 2025 08:00:37 +0000 (+0200) Subject: Add support for Pyrefly LSP for Python X-Git-Tag: archive/raspbian/1%30.2+1-2+rpi1^2~2^2~24^2~75 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=328b316764f0b06f7b8c774e9855ff2426a13bfe;p=emacs.git Add support for Pyrefly LSP for Python * lisp/progmodes/eglot.el (eglot-server-programs): Add config for Pyrefly. (Bug#78492) --- diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index 663c1157a04..e8ecabfc96e 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/eglot.el @@ -251,6 +251,7 @@ automatically)." . ,(eglot-alternatives '("pylsp" "pyls" ("basedpyright-langserver" "--stdio") ("pyright-langserver" "--stdio") + ("pyrefly" "lsp") "jedi-language-server" ("ruff" "server") "ruff-lsp"))) ((js-json-mode json-mode json-ts-mode jsonc-mode) . ,(eglot-alternatives '(("vscode-json-language-server" "--stdio")